﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using STF.OrangeDog.Dtos;
using System.Threading.Tasks;

namespace STF.OrangeDog.IService
{
    public interface IPublishFormBll
    {
        Task<int> AddReleaseFormAsync(string Title, string Details);
        Task<int> EditReleaseFormAsync(int Id, string Title, string Details);
        Task<int> DeleteReleaseFormAsync(int Id);
        Task<IEnumerable<PublishFormDtos>> GetAll(int DeleteId = 1);
        Task<IEnumerable<PublishFormDtos>> GetDataByTitle(string Title, int DeleteId = 1);
        Task<PublishFormDtos> GetDataById(int Id);
    }
}

